		<h2 style="margin-top:10px; font-size:16px;margin-bottom:15px; "><?php echo lang('account_settings') ?></h2>
		
		<div id="content_center" style="text-align:left !important;">
			<div class="settings_menu">
				<a href="<?php echo site_url('account/settings/profile') ?>" class="settings_link active"><?php echo lang('profile') ?></a>
				<a href="<?php echo site_url('account/settings/password') ?>" class="settings_link"><?php echo lang('change_pass') ?></a>
				<a href="<?php echo site_url('account/settings/remove') ?>" class="settings_link"><?php echo lang('account_remove') ?></a>
				<a href="<?php echo site_url('tasks') ?>" class="settings_link" style="float:right !important; margin-right:0px !important; color:#9c3034;"><?php echo lang('tasks') ?></a>
				<div style="clear:both;"></div>
			</div>
			
			
			<form action="<?php echo site_url('account/settings/profile') ?>" method="post" class="settings_form">
				<?php echo validation_errors('<div style="color:red">','</div') ?>
				
				<?php if(isset($message)) : ?>
				<div class="account_message"><?php echo $message ?></div>
				<?php endif; ?>	
					
				<label for="email" class="create_form_label">E-mail:</label>
				<input type="text" name="email" id="email" value="<?php echo $this->session->userdata('email') ?>" class="settings_input"/>
				<span class="small-note"><?php echo lang('email_note') ?></span>
				<label for="username" class="create_form_label"><?php echo lang('name') ?>:</label>
				<input type="text" name="username" id="username" value="<?php echo $name ?>" class="settings_input"/>
				
				<label class="create_form_label"><?php echo lang('timezone') ?>:</label>
				<?php echo timezone_menu("$tz") ?><br/>
				<span class="small-note"><?php echo lang('timezone_note') ?></span>
				
				<input type="submit" name="submit" id="saveprofile" value="<?php echo lang('save') ?>" style="margin-top:20px;"/>
				<input type="hidden" name="nonce" value="<?php echo $nonce ?>"/>

				<div style="margin-top:20px;">
					<div class="account_message" style="display:none;" id="logout_message"><?php echo lang('logout_everywhere_ok') ?></div>
					<div>
						<a href="" style="font-weight:bold;color:#0000ff;line-height:22px;" id="logout_everywhere"><?php echo lang('logout_everywhere') ?></a>
						<span style="display:none" class="span_logout_link"><img src="/img/ajax-loader.gif"/></span>
					</div>

					<div style=""><?php echo lang('logout_everywhere_note') ?></div>
				</div>
			</form>
			
			<span id="lang" style="display:none;"><?php echo $this->lang->lang() ?></lang>
		</div>
		
		
		
